package com.effectiv.gooruda.rest.api.domain;

import java.io.Serializable;

import com.effectiv.gooruda.rest.docs.core.annotation.ApiObject;
import com.effectiv.gooruda.rest.docs.core.annotation.ApiObjectField;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Deprecated
@ApiObject(name="Cache Entry")
@ToString
public class CacheEntry implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiObjectField(description="Value of the cache entry. This can be any valid JSON object.")
	@Getter @Setter
	private Object value;
	
	@ApiObjectField(description="Time to live in seconds.")
	@Getter @Setter
	private long ttl;
}
